﻿/**
 * Foxit Software Inc.
 * Copyright(C) 2005-2014, all rights reserved.
 * The following code is copyrighted and contains proprietary information
 * and trade secrets of Foxit Software Inc.

 * Description: API entry point
 * Author: shaojie zhuo
 * Update: shaojie zhuo (2014-05-07 10:04)
 */

define(function (require, exports, module) {
    if (!window.WebPDF) {

        if (typeof console == "undefined") {
            window.console = {
                log: function () {
                },
                warn: function () {
                },
                error: function () {
                }
            };
        }

        /**
         * @name WebPDF
         * @namespace
         * @description This is the API entry point. The entire WebPDF code runs under this object.
         */
        window.WebPDF = {
            /**
             * Contains the version number of Reader.
             * @type String
             * @example
             * alert( WebPDF.version );  // e.g. 'WebPDF beta 1.1'
             */
            version: '1.0',

            /**
             * A constant string unique for each release of Reader.
             * @type String
             * @example
             * alert( WebPDF.timestamp );  // e.g. '201207021630'
             */
            timestamp: '20140823'
        };
    }

    return window.WebPDF;
});


